package com.qzsoft.zhjd.materiel.modules.materielapi.dto;

import lombok.Data;

/**
 * @ClassName ItemUpdateDto
 * @Description 修改材料信息
 * @author linhuawei
 * @since 2022-01-20
 */
@Data
public class MaterielItemUpdateDto {

    private String siteNO;

    private String id;
    
    private Double unitConversion;

    /**
     * 正差值
     */
    private String positiveDifference;

    /**
     * 负差值
     */
    private String negativeDifference;
    

    public String getBasecode() {
        return siteNO.substring(0, 4);
    }

}
